runtime.g.waiting (field)
18 uses
runtime (current package)
chan.go#L262: gp.waiting = mysg
chan.go#L278: if mysg != gp.waiting {
chan.go#L281: gp.waiting = nil
chan.go#L623: gp.waiting = mysg
chan.go#L642: if mysg != gp.waiting {
chan.go#L648: gp.waiting = nil
runtime2.go#L506: waiting *sudog // sudog structures this g is waiting on (that have a valid elem ptr); in lock order
select.go#L84: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
select.go#L294: if gp.waiting != nil {
select.go#L297: nextp = &gp.waiting
select.go#L351: sglist = gp.waiting
select.go#L353: for sg1 := gp.waiting; sg1 != nil; sg1 = sg1.waitlink {
select.go#L358: gp.waiting = nil
stack.go#L792: for s := gp.waiting; s != nil; s = s.waitlink {
stack.go#L805: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L818: if gp.waiting == nil {
stack.go#L824: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L856: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |